<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>线路详情</title>
  <style>
    body{
      width:100%;
      height:100%;
      background:url('/img/haitan.jpg');
      background-repeat: no-repeat;
      background-size:100% 100%;
      background-attachment:fixed;
    }
  </style>
</head>
<body>
<form>
  <table border="1" style="color: bisque" align="center">
    <tr>
      <td>旅游号</td>
      <td>路线</td>
      <td>项目</td>
      <td>景区名</td>
      <td>价格</td>
      <td>状态</td>
      <td>详情</td>
    </tr>
    <tr th:each="shop:${list2}">
      <td th:text="${shop.sid}"></td>
      <td th:text="${shop.route}"></td>
      <td th:text="${shop.project}"></td>
      <td th:text="${shop.title}"></td>
      <td th:text="${shop.price}"></td>
      <td th:text="${shop.status}"></td>
      <td><a th:href="@{/placeDetail/(sid=${shop.sid})}">线路详情</a></td>
      <td><a th:href="@{/userOrder/(sid=${shop.sid})}">下单</a> </td>
    </tr>
  </table>
</form>
</body>
</html>